/*
 * Copyright (C) 2011 hljdrl@gmail.com
 * 
 *            mail:hljdrl@gmail.com
 * 
 * All rights reserved.
 */
package org.andtools.net;

/**
 * @author hljdrl@gmail.com
 *
 */
public class HttpInfo {
	
	public static final int CODE_RESULT_TYPE_BYTES=1;
	
	public static final int CODE_RESULT_TYPE_STRING =2;
	
	public static final int CODE_RESULT_TYPE_INPUTSTREAM = 3;
	
	public static final int CODE_RESULT_TYPE_FILE = 4;
	
	public static final int CODE_RESULT_FILE = 4;
	public static final int CODE_REQUEST_GET = 1;
	public static final int CODE_REQUEST_POST = 2;
	
	
	public int actionId;
	
	public String UrlString;
	
	public int RequestMethod = CODE_REQUEST_GET;
	
	public int ResultDataType = CODE_RESULT_TYPE_BYTES;
	
	public AbsHttp.State state;

}
